package ${entityPackageName};

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zksz.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

<#list packageMap?values as val>
${val}
</#list>
import java.io.Serializable;

/**
* @description   ${description}
* @author        ${author}
* @date          ${createTime}
* @version       ${version}
**/
@ApiModel(description = "${description}")
@Data
@TableName(value = "${tableName}")
public class ${className?cap_first} extends BaseEntity implements Serializable{
	private static final long serialVersionUID = 1L;
<#list columnMap?keys as column>
	<#if column!='id' && column!='created_by' && column!='created_time' && column!='updated_by' && column!='updated_time' && column!='is_delete'>

	<#if columnMap["${column}"][1]=="Date">
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	</#if>
	@ApiModelProperty("${columnMap["${column}"][2]}")
	private ${columnMap["${column}"][1]} ${columnMap["${column}"][0]};
	</#if>
</#list>
}
